<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script src="./js/jquery.min.js"></script>
<script type="text/javascript">

	$(document).ready(function(){
	var ws = new WebSocket("ws://10.222.29.145:8880/acmsystem-m-v2.0/ordernew");

		ws.onopen = function(evt) {
			console.log("Connection open...");
			ws.send("Hello Websockets");
		}

		ws.onmessage = function(evt) {
			console.log("Received Message:" + evt.data);
			ws.close();
		}

		ws.onclose = function(evt) {
			console.log("Connection closed!");
		}
	
	})
</script>
</head>
<body>

</body>
</html>